package com.mc.moring.bean;

public class EmergencyBean {

    boolean isWrite = false;
    String PhoneNumber = "";
    String relationship = "";
    String name = "";
    String numErr = "";

    boolean isShowRelationShipErr = false;

    boolean isShowContactNameErr = false;

    int id = -1;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isWrite() {
        return isWrite;
    }

    public void setWrite(boolean write) {
        isWrite = write;
    }

    public boolean isShowRelationShipErr(){
        return isShowRelationShipErr;
    }

    public boolean isShowNameErr() {
        return isShowContactNameErr;
    }

    public void setShowRelationShipErr(boolean isShow){
        isShowRelationShipErr = isShow;
    }

    public void setShowNameErr(boolean isShow) {
        isShowContactNameErr = isShow;
    }

    public  String getNumErr(){ return numErr;}

    public void setNumErr(String mNumErr) {numErr = mNumErr;}

    public String getPhoneNumber() {
        return PhoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        PhoneNumber = phoneNumber;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
